package com.blak.black.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blak.black.dto.DishDto;
import com.blak.black.entity.Dish;

import java.util.List;


public interface DishService extends IService<Dish> {
    public void saveWithFlavor(DishDto dishDto);
    public void removeWithFlavorSetmeal(List<Long> ids);
    public DishDto getByIdWithFlavor(Long id); //根据id查询菜品信息和对应的口味信息
    public void updateWithFlavor(DishDto dishDto);//更新菜品信息，同时更新对应的口味信息
}
